package xyz.chenyongpeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import xyz.chenyongpeng.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单重试列表
 * </p>
 *
 * @author chenyongpeng
 * @since 2018-12-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="ZsRetryOrder对象", description="订单重试列表")
public class ZsRetryOrder extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "ro_id", type = IdType.AUTO)
    private Integer roId;

    @ApiModelProperty(value = "订单ID")
    private Integer oId;

    @ApiModelProperty(value = "重试次数")
    private Integer retryCount;

    @ApiModelProperty(value = "是否成功，0没成功 1成功")
    private Boolean isSuccess;

    @ApiModelProperty(value = "重试的日志")
    private String log;

    @ApiModelProperty(value = "是否在队列 1在 0移除队列")
    private Boolean inQueue;


}
